package org.macpro.alone.server.contain;

import java.util.List;
import java.util.Vector;

import org.macpro.alone.prisist.dao.ActionRolegroupDaoInter;
import org.macpro.alone.prisist.domain.AloneActionRolegroup;

public class ActionRolegroupManagerImpl implements ActionRolegroupManagerInter{
	private ActionRolegroupDaoInter  actionrolegroupDao;
	private static final List<AloneActionRolegroup> ActionRolegroupList=new Vector<AloneActionRolegroup>();
	public String getConfigValue(String key) {
		// TODO Auto-generated method stub
		return null;
	}

	public boolean initConfig() {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean refreshConfigMap() {
		// TODO Auto-generated method stub
		return false;
	}

	/* (non-Javadoc)
	 * @see org.macpro.alone.server.contain.dd$deleteEntity(java.lang.String)
	 */
	public void deleteEntity(String entity) {
		// TODO Auto-generated method stubFd
		actionrolegroupDao.deleteEntity(actionrolegroupDao.getEntity(entity));
	}

	/* (non-Javadoc)
	 * @see org.macpro.alone.server.contain.dd$editEntity(org.macpro.alone.prisist.domain.AloneActionRolegroup)
	 */
	public void editEntity(AloneActionRolegroup entity) {
		// TODO Auto-generated method stub
		actionrolegroupDao.editEntity(entity);
	}

	public List<AloneActionRolegroup> getAllEntity() {
		// TODO Auto-generated method stub
		return null;
	}

	public int getAllListNum() {
		// TODO Auto-generated method stub
		return 0;
	}

	/* (non-Javadoc)
	 * @see org.macpro.alone.server.contain.dd$getEntity(java.lang.String)
	 */
	public AloneActionRolegroup getEntity(String id) {
		// TODO Auto-generated method stub
		return actionrolegroupDao.getEntity(id);
	}

	/* (non-Javadoc)
	 * @see org.macpro.alone.server.contain.dd$insertEntity(org.macpro.alone.prisist.domain.AloneActionRolegroup)
	 */
	public void insertEntity(AloneActionRolegroup entity) {
		// TODO Auto-generated method stub
		actionrolegroupDao.insertEntity(entity);
	}

	

	public static List<AloneActionRolegroup> getactionrolegroupList() {
		return ActionRolegroupList;
	}

	public ActionRolegroupDaoInter getactionrolegroupDao() {
		return actionrolegroupDao;
	}

	public void setactionrolegroupDao(ActionRolegroupDaoInter actionrolegroupDao) {
		this.actionrolegroupDao = actionrolegroupDao;
	}

}
